package lab02.test14;

public class Test14 {

    public static void main(String[] args) {
    Circle circle = new Circle();
    circle.radius= 4;

    System.out.println("圆的面积：" + circle.getArea());

    Rectangle rectangle = new Rectangle();
    rectangle.height = 3;
    rectangle.width = 4;

    System.out.println("矩形的面积：" + rectangle.getArea());

    }
}
